package com.bwie.controller;

import com.bwie.service.TbBrandService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2025/5/27 11:03
 */

@RestController
@RequestMapping(value = "/shop/brand")
public class TbBrandController {

    @Autowired
    TbBrandService tbBrandService;

    /**
     * @description 获取所有品牌列表
     * @params []
     * @return com.bwie.utils.Result
     * @author 军哥
     * @date 2025/5/27 11:05
     */
    @PostMapping("/getBrandListAll")
    public Result getBrandListAll() {
        return tbBrandService.getBrandListAll();
    }

}
